Sh script exception:/bin/sh ^ M: badinterpreter: Nosuchfileordirectory problem is executed in Linux. sh script, exception/bin/sh ^ M: badinterpreter: Nosuchfileordirectory analysis: This is caused by different system encoding formats ,...
Sh script
In Linux, source, SH, bash,./can execute shell script files, what's the difference?-----------1. SourceSOURCE a.shReads, executes a.sh in the current Shell , and a.sh does not need to have " Execute permission "The source command can be abbreviated
From: http://www.huihoo.org/apache/tomcat/heavyz/02-catalina.sh.html
1-Overview
The script Catalina. Sh is the most critical script for starting and disabling Tomcat servers.In addition, startup. SH and shutdown. Sh both use different parameters to
1-Overview
The script catalina. sh is the most critical script for starting and disabling tomcat servers.In addition, startup. sh and shutdown. sh both use different parameters to call the script.The script is used as follows (derived from the
Add by Zhj: The main difference is that source is executing the script in the current shell, while SH, bash,./is executing the script in the child shell of the current shellOriginal: http://www.cnblogs.com/pcat/p/5467188.htmlIn Linux, source, SH,
Redhat 6.4 install ORACLE11R2 and run root. sh to report the following error: "libcap. so.1: cannot open shared object file", oracle11r2root. sh
1. system environment:
Redhat 6.4 Enterprise Edition
Oracle11.2.0.2 RAC + ASM
2. error
Reprint Address: http://www.cnblogs.com/pipelone/archive/2009/04/17/1437879.htmlExecutes. sh script in Linux, exception/bin/sh^m:bad interpreter:no such file or directory.Analysis: This is caused by different system encoding formats: the. sh file
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.